<?php
/**
 * Created by PhpStorm.
 * User: moon
 * Date: 2021/6/8
 * Time: 21:04
 */

namespace app\admin\model;

use app\BaseModel;

class Notice extends BaseModel
{
    protected $table = 'sh_notice';

    public $rule = [
        'title|标题' => 'require',
        'content|内容' => 'require',
        'display' => 'require|in:1,2',
        'sort排序' => '>=:0',
    ];
    public $message = [
        'display' => '展示状态选择异常',
    ];
}
